package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 硬件产品配置对象 hard_ware_product_config
 *
 * @author ruoyi
 * @date 2023-03-26
 */
public class HardWareProductConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 硬件编码
     */
    @Excel(name = "硬件编码")
    private String hardWareCode;

    /**
     * 图片地址
     */
    @Excel(name = "图片地址")
    private String imgUrl;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String productName;

    /**
     * 价格
     */
    @Excel(name = "价格")
    private Long price;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setHardWareCode(String hardWareCode) {
        this.hardWareCode = hardWareCode;
    }

    public String getHardWareCode() {
        return hardWareCode;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductName() {
        return productName;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getPrice() {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("hardWareCode", getHardWareCode())
                .append("imgUrl", getImgUrl())
                .append("productName", getProductName())
                .append("price", getPrice())
                .toString();
    }
}
